package com.anyou.mall.order.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author xiaq
 * @Description
 * @date 2022-02-16
 */
@Data
@NoArgsConstructor
@ApiModel("订单明细")
public class OrderDetailedVo {
    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountAmount;

    @ApiModelProperty(value = "商品金额")
    private BigDecimal goodsAmount;

    @ApiModelProperty(value = "运费金额")
    private BigDecimal freightAmount;

    @ApiModelProperty(value = "加急金额")
    private BigDecimal urgentAmount;

    @ApiModelProperty(value = "延迟保险金额")
    private BigDecimal insure_amount;

    @ApiModelProperty(value = "是否购买延迟保险（0否，1是）")
    private String isPayInsure;

    @ApiModelProperty(value = "是否加急配送（0否，1是）")
    private String isUrgentDelivery;

    @ApiModelProperty(value = "收货人")
    private String receiverName;

    @ApiModelProperty(value = "收货电话")
    private String receiverPhone;

    @ApiModelProperty(value = "收货省")
    private String receiverProvince;

    @ApiModelProperty(value = "收货市")
    private String receiverCity;

    @ApiModelProperty(value = "收货区")
    private String receiverArea;

    @ApiModelProperty(value = "收货详细地址")
    private String receiverDetailed;

    @ApiModelProperty(value = "配送方式（1安邮配送，2商家配送）")
    private String deliveryMode;

    @ApiModelProperty(value = "是否支付（0否，1是）")
    private String isPay;

    @ApiModelProperty(value = "支付时间")
    private String payTime;


    @ApiModelProperty("订单状态 1待付款，2待审核，3代发货，4待自提，5待收货，6已完成")
    private String orderStatus;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "汽配商审核店铺名称")
    private String shopName;



    @ApiModelProperty(value = "商品订单列表明细")
    private List<OrderGoodsListVo> orderGoodsListVo;
}
